]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
gsettings: Use strict compilation
authordcz <gilaac.dcz@porcupinefactory.org>
Fri, 5 Apr 2024 16:17:56 +0000 (16:17 +0000)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 5 Apr 2024 17:50:48 +0000 (19:50 +0200)
Without this flag, changes resulting in invalid gschemas are ignored and
easily lost within the compilation input. In CI and some development
workflows this may let bad builds through.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3262>

data/meson.build

index 254c46013ef64f257670999d7d2bc6f001755461..0307613e70a0f5f9a99b6fd7e6415e28b73d54b3 100644 (file)
@@ -126,5 +126,5 @@ endif
 custom_target('compile-schemas',
   input: schema,
   output: 'gschemas.compiled',
-  command: [find_program('glib-compile-schemas'), data_builddir],
+  command: [find_program('glib-compile-schemas'), '--strict', data_builddir],
   build_by_default: true)